<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>

<style type="text/css">
.scrollabl {
	width: 720px;
	height: 365px;
	overflow-y: auto;
	overflow-x: auto;
	clip-rect: (0px, 720px, 365px, 0px );
}
</style>
</head>
<body>
	<table>
		<tr>
			<td align="left"><font color="gray"
				style="font-family: calibri; font-size: small;"><b>From
						&emsp;&emsp;</b></font><font color="blue"
				style="font-family: calibri; font-size: small;"><s:property
						value="sender_id" /></font></td>
			<td align="right"><font color="gray"
				style="font-family: calibri; font-size: small;"><s:property
						value="sent_at" /></font></td>
		</tr>
		<tr>
			<td height="10px"></td>
		</tr>
		<tr>
			<td colspan="2" align="left"><font color="gray"
				style="font-family: calibri; font-size: small;"><b>To
						&emsp;&emsp;</b></font><font color="blue"
				style="font-family: calibri; font-size: small;"><s:property
						value="receiver_id" /></font></td>
		</tr>
		<tr>
			<td height="10px"></td>
		</tr>
		<tr>
			<td colspan="2" align="left"><font color="gray"
				style="font-family: calibri; font-size: small;"><b>Subject
						&emsp;</b></font><font color="black"
				style="font-family: calibri; font-size: small;"><b><s:property
							value="subject" /></b></font></td>
		</tr>
		<tr>
			<td height="10px"></td>
		</tr>
		<tr>
			<td align="left" colspan="2"><font color="gray"
				style="font-family: calibri; font-size: small;"><b>Attachments
						&emsp;</b></font> <font color="gray"
				style="font-family: calibri; font-size: small;"><s:iterator
						value="attachments">
						<a
							href="Download.jsp?attachment_id=<s:property value="attachment_id"/>&filename=<s:property/>"><s:property /></a>
					</s:iterator>&ensp;</font></td>
		</tr>
		<tr>
			<td height="10px"></td>
		</tr>
		<tr>
			<td colspan="2" style="font-family: calibri; font-size: small;"
				align="right"><a href="javascript:void(0);"
				onclick="PopupCenter('./admin/ReplyMessageAdmin.jsp','batch',600,900);">Reply</a>
				&emsp;<a href="javascript:void(0);"
				onclick="PopupCenter('./admin/ForwardMessageAdmin.jsp','batch',600,900);">Forward</a>
			</td>
		</tr>
		<tr>
			<td colspan="2"><hr></td>
		</tr>
		<tr>
			<td colspan="2"><div class="scrollabl">
					<font style="font-family: calibri; font-size: medium;"><s:property
							value="body" /></font> <br>
				</div></td>
		</tr>
	</table>